Next | Prev | Up | Top | Contents | Index
Assigning a Processor Set to a Queue
Using pset you can assign a set of CPUs to service a particular scheduling queue (see "Scheduler Queues"). Only those CPUs will take processes from that queue, and they will take processes from no other queue. For example, to assign CPU 9 alone to service the batch queue, use:
pset -s 1009 9
pset -q bt 1009
Only CPU 9 will work on processes with a batch-level priority, and CPU 9 will work on no other processes.
If you assign a processor set to the gang or gang-batch queue, the set should contain enough CPUs to match the size of the largest gang. (Assigning a single CPU to the gang queue would rather defeat the purpose of gang scheduling.)
Next | Prev | Up | Top | Contents | Index